{% load i18n %}
<html>
  <head>
    <meta charset="UTF-8" />
  </head>
  <body>
    {% for board in public_boards %}
    <div style="border:1px solid green;">
      <a href="{% url "board-show" board.id board.slug %}">
        <h2>{{ board.subject }}</h2>
      </a>
      <p>{{ board.description }}</p>
      <p>{% trans "Number of topics" %}: {{ board.topics_count }}<br />
        {% trans "Number of posts" %}: {{ board.posts.count }}
      </p>
    </div>
    {% endfor %}
    {% if internal_boards %}
    <h2>{% trans "Internal Boards" %}</h2>
    {% for board in internal_boards %}
    <div style="border:1px solid blue;">
      <a href="{% url "board-show" board.id board.slug %}">
        <h2>{{ board.subject }}</h2>
      </a>
      <p>{{ board.description }}</p>
      <p>{% trans "Number of topics" %}: {{ board.topics_count }}<br />
        {% trans "Number of posts" %}: {{ board.posts.count }}
      </p>
    </div>
    {% endfor %}
    {% endif %}
  </body>
</html>
